package com.fch.buffetorder.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class Food implements Serializable {

    @ApiModelProperty(value = "食物id主键", position = 1)
    private Integer foodId;
    @ApiModelProperty(value = "食物名称", position = 2)
    private String foodName;
    @ApiModelProperty(value = "食物图片路径", position = 3)
    private String foodImg;
    @ApiModelProperty(value = "食物分类", position = 4)
    private Integer foodCate;
    @ApiModelProperty(value = "食物拥有的细节", position = 5)
    private Integer haveDetail;
    @ApiModelProperty(value = "食物细节", position = 6)
    private String foodDetail;
    @ApiModelProperty(value = "分类名称", position = 7)
    private String cateName;
    @ApiModelProperty(value = "食物备注", position = 8)
    private String foodNote;
    @ApiModelProperty(value = "食物单价", position = 9)
    private BigDecimal foodPrice;
    @ApiModelProperty(value = "食物排序权重", position = 10)
    private Integer foodWeight;
    @ApiModelProperty(value = "是否可用", position = 11)
    private Integer isEnable;
}
